﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Them-Hang-Xe.aspx.cs" Inherits="Hyunhdai_Saigon_Project.Them_Hang_Xe" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table border="1px">
            <tr>
                <td>
                    <asp:Label ID="Label2" runat="server" Text="Danh Sách Hãng Xe:"></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="nsx" runat="server" Width="200px" DataSourceID="SqlDataSource1"
                        DataTextField="name" DataValueField="id">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:hyundaisaigonConnectionString %> "
                        SelectCommand="SELECT [id], [name] FROM [nhasanxuat]"></asp:SqlDataSource>
                          <asp:DropDownList ID="dongxe" runat="server" Width="200px" 
                        DataSourceID="SqlDataSource2" DataTextField="name" DataValueField="id">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:hyundaisaigonConnectionString %>" 
                        SelectCommand="SELECT * FROM [dongxe]"></asp:SqlDataSource>
                   
                     <asp:DropDownList ID="doixe" runat="server" Width="200px" 
                        DataSourceID="SqlDataSource3" DataTextField="nam" DataValueField="id">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource3" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:hyundaisaigonConnectionString %>" 
                        SelectCommand="SELECT * FROM [doixe]"></asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblRes" runat="server" Text=""></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtHangXe" runat="server"></asp:TextBox>
                </td>
            </tr>
        </table>
        <asp:Button ID="btnSubmit" runat="server" Text="Xác Nhận" OnClick="Submit_CLick" />
        <asp:Label ID="lblxacnhan" runat="server" Text=""></asp:Label>
    </div>
    </form>
</body>
</html>
